package com.conferenceroom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId(value = "user_id", type =  IdType.AUTO)
    private Integer userId;
    private String username;
    private String password;
    private String realName;
    private Integer userType; // 0=客户，1=员工，2=管理员
    private String company; // 仅客户填写
    private String phone;
    private Integer status; // 0=冻结，1=正常，2=待审核
}
